﻿<m:LineBase
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:m="clr-namespace:Signum.Windows"
    x:Class="Signum.Windows.TextArea"
    x:Name="me" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="540.993" d:DesignHeight="140" Style="{DynamicResource toolTip}">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="../Resources.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>
        <TextBox Text="{Binding Path=Text, ElementName=me, UpdateSourceTrigger=PropertyChanged}" AcceptsReturn="True" AcceptsTab="True" 
                 Background="{Binding Background, ElementName=me}"
                 IsReadOnly="{Binding Path=(m:Common.IsReadOnly), ElementName=me}" 
                 TextWrapping="Wrap"/>
</m:LineBase>
